package com.pc_project.domain.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLogin {
    @ApiModelProperty(value = "用户id", example = "1", required = true)
    private Integer uid;
    @ApiModelProperty(value = "用户名", example = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "昵称", example = "昵称", required = true)
    private String nickname;
    @ApiModelProperty(value = "邮箱", example = "xxxxxxxxx@qq.mail", required = true)
    private String mail;
    @ApiModelProperty(value = "审核员角色", example = "user或者replyuser", required = true)
    private String role;
    @ApiModelProperty(value = "token令牌", example = "一串字符串", required = true)
    private String token;
}
